package com.mianyang.zhangsan.plugin.mail;

/**
 * 邮件工厂
 * @author jiangjr
 * @date 2022-11-24
 */
public class MailFactory {

    public static Mail simpleMail(String subject, String sender, String content, String ...receives) {
        return Mail.builder()
                .subject(subject)
                .sender(sender)
                .content(content)
                .receive(receives).build();
    }

    public static Mail attachMail() {

        return null;
    }
}
